{include file="public/header" /}
<body class="gray-bg">
<div class="wrapper wrapper-content">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5>评价详情</h5>
                </div>
                <div class="ibox-content layui-form">
                    <div class="layui-row layui-col-space10 layui-form-item ">

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                        <label class="layui-form-label">评价用户：</label>
                        <div class="layui-input-block">
                            <input type="text" class="layui-input" value="{$detail.user_username}" disabled>
                        </div>
                    </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">规格名称：</label>
                            <div class="layui-input-block">
                                <input type="text" class="layui-input" value="{$detail.spec_name}" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">规格参数：</label>
                            <div class="layui-input-block">
                                <input type="text" class="layui-input" value="{$detail.spec_can}" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">评论星级：</label>
                            <div class="layui-input-block">
                                <input type="text" class="layui-input" value="{$detail.gc_star}" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">评论等级：</label>
                            <div class="layui-input-block">
                                {if $detail.gc_type == 1}
                                <input type="text" class="layui-input" value="好评" disabled>
                                {else /}
                                <input type="text" class="layui-input" value="差评" disabled>
                                {/if}
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">评论时间：</label>
                            <div class="layui-input-block">
                                <input type="text" class="layui-input" value="{$detail.gc_time}" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">评价内容：</label>
                            <div class="layui-input-block">
                                <textarea class="layui-textarea" disabled>{$detail.gc_content}</textarea>
                            </div>
                        </div>

                        {if !empty($detail.gc_images)}
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">评价图片：</label>
                            <div class="layui-input-block">
                                {volist name='detail.gc_images' id='vo'}
                                <img src="{$vo}" class="img-circle" style="height:100px">
                                {/volist}
                            </div>
                        </div>
                        {/if}

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <div class="layui-input-block">
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
{include file="public/footer" /}
</body>
</html>
